package com.itheima.tlais_web_management.service.impl;


import com.itheima.tlais_web_management.mapper.UserMapper;
import com.itheima.tlais_web_management.pojo.User;
import com.itheima.tlais_web_management.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userDao;

    @Override
    public int updateById(User user) {
        return userDao.updateById(user);
    }
}
